package com.eastfair.builder.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.eastfair.boot.mapper.SuperMapper;
import com.eastfair.builder.entity.ReportSpace;
import com.eastfair.builder.vo.ReportSpaceVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * Mapper 接口
 * 报馆记录表
 * </p>
 *
 * @author dq
 * @date 2022-08-06
 */
@Repository
public interface ReportSpaceMapper extends SuperMapper<ReportSpace> {

    /**
     * 分页查询报馆记录VO.
     *
     * @param page         the page
     * @param queryWrapper the query wrapper
     * @return the page
     */
    IPage<ReportSpaceVO> listReportSpaceVOs(IPage<ReportSpace> page,
                                            @Param(Constants.WRAPPER) QueryWrapper<ReportSpace> queryWrapper);
}
